package com.firewolf.springboot.startup;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value = 2)
public class MyStartUp2 implements CommandLineRunner {

	@Override
	public void run(String... args) throws Exception {
		System.out.println("第二个类，启动后就执行，第二个参数是：" + args[1]);
	}

}
